package com.star.star.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * 专辑保存DTO
 *
 * @author yangzj
 */
@Getter
@Setter
@Accessors(chain = true)
public class StarAlbumSaveWxuserDTO {

    /**
     * 专辑名称
     */
    @Size(max = 20)
    @NotBlank
    private String name;

    /**
     * 封面url
     */
    @NotBlank
    @Size(max = 255)
    private String coverUrl;

    /**
     * 介绍
     */
    @Size(max = 2000)
    private String description;
}
